/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.maxato.domain;

import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 *
 * @author Danny
 */
public class Continent {
    @XmlElement(name="nation")
    List<Nation> nations;
    @XmlAttribute  int id;
    @XmlAttribute  String name;
    

    public Continent(){
        
    }

    public Continent(List<Nation> nations, int ids, String name) {
        this.nations = nations;
        this.id = ids;
        this.name = name;
    }

     
    public int getIdContinent() {
        
        return id;
    }

    public void setIdContinent(int id) {
        this.id = id;
    }

    public String getNameContinent() {
        return name;
    }

    public void setNameContinent(String name) {
        this.name = name;
    }

    public List<Nation> getNationsList() {
        return nations;
    }

    public void setNationsList(List<Nation> nations) {
        this.nations = nations;
    }  
    
}
